[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
Release Releases Dynamically Allocated Memory
Release(var P : <pointer>);
Releases all dynamic (heap) memory above the pointer P. This procedure
assumes that you have set P using the Mark procedure.
P A pointer to any data type.
Notes: Never use the Mark/Release method and Dispose in the
same program. Using them together will cause
unpredictable results.
Note that the Mark/Release method cannot release space
used by variables in the middle of the heap. Use
Dispose if this operation is needed.
-------------------------------- Example ---------------------------------
Mark(TempPtr); { mark current top of heap }
...
Release(TempPtr); { restore heap to that mark }
See Also:
Mark
New
Dispose
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson